<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head> 
  <link rel="canonical" href="http://blog.csdn.net/lxhjh/article/details/51711148" /> 
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <link rel="alternate" media="handheld" href="http://blog.csdn.net/lxhjh/article/details/#" /> 
  <meta name="shenma-site-verification" content="5a59773ab8077d4a62bf469ab966a63b_1497598848" /> 
  <title>SpringBoot入门系列：第一篇 Hello World - lxhjh的专栏
        - CSDN博客</title> 
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
  <meta name="description" content="跟随SpringBoot的文档（http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#boot-documentation）学习，前后几章关联才调通代码，煞是痛苦，在这里记录结果，过程隐忍。一、准备工作1、根据Maven工程特点，建立文档结果myFirstProject&nbsp; +-sr" /> 
  <meta name="keywords" content="springboot" /> 
  <script src="http://static.blog.csdn.net/scripts/blog_static_head.min.js" type="text/javascript"></script> 
  <!--new top--> 
  <!--new top--> 
  <!-- ad begin --> 
  <!-- ad end--> 
  <link rel="Stylesheet" type="text/css" href="http://static.blog.csdn.net/skin/default/css/style.css?v=1.1" /> 
  <link id="RSSLink" title="RSS" type="application/rss+xml" rel="alternate" href="http:blog.csdn.net/lxhjh/rss/list" /> 
  <link rel="shortcut icon" href="http://c.csdnimg.cn/public/favicon.ico" /> 
  <link type="text/css" rel="stylesheet" href="http://static.blog.csdn.net/scripts/SyntaxHighlighter/styles/default.css" /> 
  <link href="http://c.csdnimg.cn/blog/csdn_public_blog_detail.min.css" type="text/css" rel="stylesheet" /> 
  <link rel="stylesheet" href="http://static.blog.csdn.net/css/csdn_blog_detail.min.css" /> 
  <!-- 请置于所有广告位代码之前 --> 
  <script src="http://dup.baidustatic.com/js/ds.js"></script> 
 </head> 
 <body> 
  <div class="tracking-ad" data-view="true" data-mod="ad_popu_72" data-mtp="62" data-order="40" data-con="ad_content_2072"> 
   <script id="popuLayer_js_q" src="http://ads.csdn.net/js/popuLayer.js" defer="defer" type="text/javascript"></script> 
   <div id="layerd" style="position: fixed;bottom:0px;right:0px;line-height:0px;z-index:1000"> 
    <div class="J_close layer_close" style="display:;background-color:#efefef;padding:0px;color:#333;font:12px/24px Helvetica,Tahoma,Arial,sans-serif;text-align:right;">
     关闭
    </div>
    <!-- 广告占位容器 -->
    <div id="cpro_u2895327"></div>
   </div> 
   <script>  document.getElementById("popuLayer_js_q").onload = function () { var styObjd = styObj = { width: "300px", "height": parseInt(250) + 28 }; window.CSDN.Layer.PopuLayer("#layerd", { storageName: "layerd", styleObj: styObjd, total: 50, expoire: 1000 * 60 }); }</script>
   <!-- 投放代码 -->
   <script type="text/javascript">                    /*服务器频道首页置顶Banner960*90，创建于2014-7-3*/    (window.cproArray = window.cproArray || []).push({ id: "u2895327" });  </script> 
   <script src="http://cpro.baidustatic.com/cpro/ui/c.js" type="text/javascript"></script> 
  </div> 
  <!-- 广告位开始 --> 
  <!-- 广告位结束 --> 
  <!--new top--> 
  <script id="toolbar-tpl-scriptId" fixed="true" prod="blog" skin="black" src="http://c.csdnimg.cn/public/common/toolbar/js/html.js" type="text/javascript"></script> 
  <!--new top--> 
  <div id="container"> 
   <div id="header"> 
    <div class="header"> 
     <div id="blog_title"> 
      <h2> <a href="http://blog.csdn.net/lxhjh">lxhjh的专栏</a></h2> 
      <h3></h3> 
      <div class="clear"> 
      </div> 
     </div> 
     <div class="clear"> 
     </div> 
    </div> 
   </div> 
   <div id="navigator"> 
    <div class="navigator_bg"> 
    </div> 
    <div class="navigator"> 
     <ul> 
      <li id="btnContents"><a href="http://blog.csdn.net/lxhjh?viewmode=contents"><span onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_mulu'])"> <img src="http://static.blog.csdn.net/images/ico_list.gif" />目录视图</span></a></li> 
      <li id="btnView"><a href="http://blog.csdn.net/lxhjh?viewmode=list"><span onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_zhaiyao'])"> <img src="http://static.blog.csdn.net/images/ico_summary.gif" />摘要视图</span></a></li> 
      <li id="btnRss"><a href="http://blog.csdn.net/lxhjh/rss/list"><span onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_RSS'])"> <img src="http://static.blog.csdn.net/images/ico_rss.gif" />订阅</span></a></li> 
     </ul> 
    </div> 
   </div> 
   <script type="text/javascript">
    var username = "lxhjh";
    var _blogger = username;
    var blog_address = "http://blog.csdn.net/lxhjh";
    var static_host = "http://static.blog.csdn.net";
    var currentUserName = "";  
</script> 
   <div id="body"> 
    <div id="main"> 
     <div class="main"> 
      <div class="ad_class"> 
       <div class="notice tracking-ad" data-mod="popu_3"> 
        <a href="http://edu.csdn.net/huiyiCourse/series_detail/44?ref=blog&amp;loc=r1"> <font color="red"><strong>【直播】大咖手把手教你做图像识别应用</strong></font></a> &nbsp;&nbsp;&nbsp;&nbsp; 
        <a href="http://blog.csdn.net/blogdevteam/article/details/74550215"> <font color="blue"><strong>征文 | 你会为 AI 转型么？</strong></font></a> &nbsp;&nbsp;&nbsp;&nbsp; 
        <a href="http://blog.csdn.net/broadview2006/article/details/74431515"> <font color="red"><strong>每周荐书 | Android、Keras、ES6（评论送书）</strong></font></a> 
       </div> 
      </div> 
      <script type="text/javascript" src="http://static.blog.csdn.net/scripts/category.js"></script> 
      <script type="text/ecmascript">
      window.quickReplyflag = true;
      var isBole = false; 
      var fasrc="http://my.csdn.net/my/favorite/miniadd?t=SpringBoot%e5%85%a5%e9%97%a8%e7%b3%bb%e5%88%97%ef%bc%9a%e7%ac%ac%e4%b8%80%e7%af%87+Hello+World&u=http://blog.csdn.net/lxhjh/article/details/51711148"
    </script> 
      <div id="article_details" class="details"> 
       <div class="article_title"> 
        <span class="ico ico_type_Original"></span> 
        <h1> <span class="link_title"><a href="http:blog.csdn.net/lxhjh/article/details/51711148"> SpringBoot入门系列：第一篇 Hello World </a> </span> </h1> 
       </div> 
       <div class="article_manage clearfix"> 
        <div class="article_l"> 
         <span class="link_categories"> 标签： <a href="http://www.csdn.net/tag/springboot" target="_blank" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_tag']);">springboot</a> </span> 
        </div> 
        <div class="article_r"> 
         <span class="link_postdate">2016-06-19 10:36</span> 
         <span class="link_view" title="阅读次数">121311人阅读</span> 
         <span class="link_comments" title="评论次数"> <a href="blog.csdn.net#comments" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_pinglun'])">评论</a>(19)</span> 
         <span class="link_collect tracking-ad" data-mod="popu_171"> <a href="blog.csdn.netjavascript:void(0);" onclick="javascript:collectArticle('SpringBoot%e5%85%a5%e9%97%a8%e7%b3%bb%e5%88%97%ef%bc%9a%e7%ac%ac%e4%b8%80%e7%af%87+Hello+World','51711148');return false;" title="收藏">收藏</a></span> 
         <span class="link_report"> <a href="blog.csdn.net#report" onclick="javascript:report(51711148,2);return false;" title="举报">举报</a></span> 
        </div> 
       </div> 
       <style type="text/css">        
            .embody{
                padding:10px 10px 10px;
                margin:0 -20px;
                border-bottom:solid 1px #ededed;                
            }
            .embody_b{
                margin:0 ;
                padding:10px 0;
            }
            .embody .embody_t,.embody .embody_c{
                display: inline-block;
                margin-right:10px;
            }
            .embody_t{
                font-size: 12px;
                color:#999;
            }
            .embody_c{
                font-size: 12px;
            }
            .embody_c img,.embody_c em{
                display: inline-block;
                vertical-align: middle;               
            }
             .embody_c img{               
                width:30px;
                height:30px;
            }
            .embody_c em{
                margin: 0 20px 0 10px;
                color:#333;
                font-style: normal;
            }
    </style> 
       <script type="text/javascript">
        $(function () {
            try
            {
                var lib = eval("("+$("#lib").attr("value")+")");
                var html = "";
                if (lib.err == 0) {
                    $.each(lib.data, function (i) {
                        var obj = lib.data[i];
                        //html += '<img src="' + obj.logo + '"/>' + obj.name + "&nbsp;&nbsp;";
                        html += ' <a href="' + obj.url + '" target="_blank">';
                        html += ' <img src="' + obj.logo + '">';
                        html += ' <em><b>' + obj.name + '</b></em>';
                        html += ' </a>';
                    });
                    if (html != "") {
                        setTimeout(function () {
                            $("#lib").html(html);                      
                            $("#embody").show();
                        }, 100);
                    }
                }      
            } catch (err)
            { }
            
        });
    </script> 
       <div class="category clearfix"> 
        <div class="category_l"> 
         <img src="http://static.blog.csdn.net/images/category_icon.jpg" /> 
         <span>分类：</span> 
        </div> 
        <div class="category_r"> 
         <label onclick="GetCategoryArticles('6277040','lxhjh','top','51711148');"> <span onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_fenlei']);">springboot<em>（22）</em></span> <img class="arrow-down" src="http://static.blog.csdn.net/images/arrow_triangle _down.jpg" style="display:inline;" /> <img class="arrow-up" src="http://static.blog.csdn.net/images/arrow_triangle_up.jpg" style="display:none;" /> 
          <div class="subItem"> 
           <div class="subItem_t">
            <a href="http://blog.csdn.net/lxhjh/article/category/6277040" target="_blank">作者同类文章</a>
            <i class="J_close">X</i>
           </div> 
           <ul class="subItem_l" id="top_6277040"> 
           </ul> 
          </div> </label> 
        </div> 
       </div> 
       <div class="bog_copyright"> 
        <p class="copyright_p">版权声明：本文为博主原创文章，未经博主允许不得转载。</p> 
       </div> 
       <div id="article_content" class="article_content tracking-ad" data-mod="popu_307" data-dsm="post"> 
        <p>&nbsp;&nbsp;&nbsp; 跟随SpringBoot的文档（http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#boot-documentation）学习，前后几章关联才调通代码，煞是痛苦，在这里记录结果，过程隐忍。</p> 
        <p>一、准备工作</p> 
        <p>1、根据Maven工程特点，建立文档结果</p> 
        <p>myFirstProject</p> 
        <p>&nbsp; +-src</p> 
        <p>&nbsp;&nbsp;&nbsp; +-main</p> 
        <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +-java</p> 
        <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +-resources</p> 
        <p>&nbsp;&nbsp;&nbsp; +-test</p> 
        <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +-java</p> 
        <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +-resources</p> 
        <p>2、再在src/main/java下依次建立文件夹com，example，myFirstProject，可以构成Maven工程包(package)--&gt;com.example.myFirstProject,最后文档结构如图1</p> 
        <p><img src="http://img.blog.csdn.net/20160619093542021?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="" /></p> 
        <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 图1</p> 
        <p>3、编制pom.xml,存于myFirstProject文件夹下，与src同级</p> 
        <p></p> 
        <pre code_snippet_id="1721187" snippet_file_name="blog_20160619_1_6094088" name="code" class="html">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
    xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;

    &lt;groupId&gt;com.example&lt;/groupId&gt;
    &lt;artifactId&gt;myFirstproject&lt;/artifactId&gt;
    &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;

    &lt;!-- Inherit defaults from Spring Boot --&gt;
    &lt;parent&gt;
        &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
        &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
        &lt;version&gt;1.4.0.BUILD-SNAPSHOT&lt;/version&gt;
    &lt;/parent&gt;

    &lt;!-- Add typical dependencies for a web application --&gt;
    &lt;dependencies&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
            &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
        &lt;/dependency&gt;
    &lt;/dependencies&gt;

    &lt;!-- Package as an executable jar --&gt;
    &lt;build&gt;
        &lt;plugins&gt;
            &lt;plugin&gt;
                &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
            &lt;/plugin&gt;
        &lt;/plugins&gt;
    &lt;/build&gt;

    &lt;!-- Add Spring repositories --&gt;
    &lt;!-- (you don't need this if you are using a .RELEASE version) --&gt;
    &lt;repositories&gt;
        &lt;repository&gt;
            &lt;id&gt;spring-snapshots&lt;/id&gt;
            &lt;url&gt;http://repo.spring.io/snapshot&lt;/url&gt;
            &lt;snapshots&gt;&lt;enabled&gt;true&lt;/enabled&gt;&lt;/snapshots&gt;
        &lt;/repository&gt;
        &lt;repository&gt;
            &lt;id&gt;spring-milestones&lt;/id&gt;
            &lt;url&gt;http://repo.spring.io/milestone&lt;/url&gt;
        &lt;/repository&gt;
    &lt;/repositories&gt;
    &lt;pluginRepositories&gt;
        &lt;pluginRepository&gt;
            &lt;id&gt;spring-snapshots&lt;/id&gt;
            &lt;url&gt;http://repo.spring.io/snapshot&lt;/url&gt;
        &lt;/pluginRepository&gt;
        &lt;pluginRepository&gt;
            &lt;id&gt;spring-milestones&lt;/id&gt;
            &lt;url&gt;http://repo.spring.io/milestone&lt;/url&gt;
        &lt;/pluginRepository&gt;
    &lt;/pluginRepositories&gt;
&lt;/project&gt;</pre>文档内容从SpringBoot的文档拷贝 
        <p></p> 
        <p>4、编制Application.java存于myFirstProject\src\main\java\com\example\myFirstProject下</p> 
        <p></p> 
        <pre code_snippet_id="1721187" snippet_file_name="blog_20160619_2_6028831" name="code" class="java">package com.example.myFirstProject;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@SpringBootApplication
public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}</pre>5、编制Example.java，存于myFirstProject\src\main\java\com\example\myFirstProject下 
        <p></p> 
        <p></p> 
        <pre code_snippet_id="1721187" snippet_file_name="blog_20160619_3_5090740" name="code" class="java">package com.example.myFirstProject;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@EnableAutoConfiguration
public class Example {
	
	@RequestMapping(&quot;/&quot;)
    String home() {
        return &quot;Hello World!&quot;;
    }
	
	@RequestMapping(&quot;/hello/{myName}&quot;)
    String index(@PathVariable String myName) {
        return &quot;Hello &quot;+myName+&quot;!!!&quot;;
    }
}</pre>二、Maven工程导入 
        <p></p> 
        <p>1、启动eclipse</p> 
        <p>&nbsp;&nbsp;&nbsp; 1.1、java--&gt;jdk1.7.0_80x64</p> 
        <p>&nbsp;&nbsp;&nbsp; 1.2、maven--&gt;Apache Maven 3.3.3</p> 
        <p>&nbsp;&nbsp;&nbsp; 1.3、Eclipse Java EE IDE for Web Developers. Version: Mars Release (4.5.0)</p> 
        <p>&nbsp;&nbsp;&nbsp; 1.4、为本练习，新建一个workgroup<br /> </p> 
        <p>2、在eclipse中，依次点击file--&gt;import--&gt;Maven--&gt;Existing Maven Projects--&gt;Next--&gt;Browse--&gt;定位到myFirstProject文件夹--&gt;确定--Finish</p> 
        <p>3、导入结果如图2</p> 
        <p><img src="http://img.blog.csdn.net/20160619100805150?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="" /></p> 
        <p>图2</p> 
        <p>三、运行</p> 
        <p>1、在eclipse的工程myFirstProject上右击鼠标，选择Run as--&gt;Java Application，如图3</p> 
        <p><img src="http://img.blog.csdn.net/20160619101453183?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="" /></p> 
        <p>2、在select Java Aplication中选择“Application -com.example.myFirstProject”，如图4</p> 
        <p><img src="http://img.blog.csdn.net/20160619101752519?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="" /></p> 
        <p>图4</p> 
        <p>3、再次点击“OK”按钮,在Eclipse的Console中开始打印如图5</p> 
        <p><img src="http://img.blog.csdn.net/20160619101936779?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="" /><br /> </p> 
        <p>图5</p> 
        <p>4、打开浏览器，输入http://localhost:8080，显示如图6</p> 
        <p><img src="http://img.blog.csdn.net/20160619102227087?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="" /></p> 
        <p>5、在浏览器中,输入http://localhost:8080/hello/SpringBoot</p> 
        <p><img src="http://img.blog.csdn.net/20160619102438417?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="" /></p> 
        <p>四、后记</p> 
        <p>痛则不通，通则不痛。这个例子非常之简单，为了这个简单，费事不少。为了这个例子能够成功，最好做以下准备</p> 
        <p>1、构建本地的Maven伺服，否则速度痛苦</p> 
        <p>2、Sonatype Nexus尽量和jdk相对应的版本，不要最求最新，否则可能启动不起来。</p> 
        <p>3、Sonatype Nexus搭建，参考</p> 
        <p>&nbsp;&nbsp;&nbsp; </p> 
        <h1 class="postTitle"><a target="_blank" id="cb_post_title_url" class="postTitle2" href="http://www.cnblogs.com/luotaoyeah/p/3791966.html">Maven入门指南⑤：使用Nexus搭建Maven私服</a></h1> 
        <h1><br /> <span class="link_title"></span></h1> 
        <h1><span class="link_title"><a target="_blank" href="http://blog.csdn.net/shawyeok/article/details/23564681">使用nexus搭建maven私服、手动更新索引</a></span></h1> 
        <br /> 
        <br /> 
        <p></p> 
        <p><br /> </p> 
        <p><br /> </p> 
       </div> 
       <!-- Baidu Button BEGIN --> 
       <div class="bdsharebuttonbox tracking-ad" style="float: right;" data-mod="popu_172"> 
        <a href="blog.csdn.net#" class="bds_more" data-cmd="more" style="background-position:0 0 !important; background-image: url(http://bdimg.share.baidu.com/static/api/img/share/icons_0_16.png?v=d754dcc0.png) !important"></a> 
        <a href="blog.csdn.net#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间" style="background-position:0 -52px !important"></a> 
        <a href="blog.csdn.net#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博" style="background-position:0 -104px !important"></a> 
        <a href="blog.csdn.net#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博" style="background-position:0 -260px !important"></a> 
        <a href="blog.csdn.net#" class="bds_renren" data-cmd="renren" title="分享到人人网" style="background-position:0 -208px !important"></a> 
        <a href="blog.csdn.net#" class="bds_weixin" data-cmd="weixin" title="分享到微信" style="background-position:0 -1612px !important"></a> 
       </div> 
       <script>window._bd_share_config = { "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "1", "bdMiniList": false, "bdPic": "", "bdStyle": "0", "bdSize": "16" }, "share": {} }; with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];</script> 
       <!-- Baidu Button END --> 
       <!--172.16.140.13--> 
       <!-- Baidu Button BEGIN --> 
       <script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=1536434"></script> 
       <script type="text/javascript" id="bdshell_js"></script> 
       <script type="text/javascript">
    document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000)
</script> 
       <!-- Baidu Button END --> 
       <div id="digg" articleid="51711148"> 
        <dl id="btnDigg" class="digg digg_disable" onclick="btndigga();"> 
         <dt>
          顶
         </dt> 
         <dd>
          23
         </dd> 
        </dl> 
        <dl id="btnBury" class="digg digg_disable" onclick="btnburya();"> 
         <dt>
          踩
         </dt> 
         <dd>
          0
         </dd> 
        </dl> 
       </div> 
       <div class="tracking-ad" data-mod="popu_222">
        <a href="blog.csdn.netjavascript:void(0);">&nbsp;</a> 
       </div> 
       <div class="tracking-ad" data-mod="popu_223"> 
        <a href="blog.csdn.netjavascript:void(0);">&nbsp;</a>
       </div> 
       <script type="text/javascript">
                function btndigga() {
                    $(".tracking-ad[data-mod='popu_222'] a").click();
                }
                function btnburya() {
                    $(".tracking-ad[data-mod='popu_223'] a").click();
                }
            </script> 
       <ul class="article_next_prev"> 
        <li class="prev_article"><span onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_shangyipian']);location.href='http://blog.csdn.net/lxhjh/article/details/51693793';">上一篇</span><a href="http://blog.csdn.net/lxhjh/article/details/51693793" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_shangyipian'])">Git的相关用法</a></li> 
        <li class="next_article"><span onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_xiayipian']);location.href='http://blog.csdn.net/lxhjh/article/details/51751847';">下一篇</span><a href="http://blog.csdn.net/lxhjh/article/details/51751847" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_xiayipian'])">SpringBoot入门系列：第二篇 再学Hello World</a></li> 
       </ul> 
       <div style="clear:both; height:10px;"></div> 
       <div class="similar_article"> 
        <h4></h4> 
        <div class="similar_c" style="margin:20px 0px 0px 0px"> 
         <div class="similar_c_t">
           &nbsp;&nbsp;相关文章推荐 
         </div> 
         <div class="similar_wrap tracking-ad" data-mod="popu_36"> 
          <ul class="similar_list fl"> 
           <li> <em>•</em> <a href="http://blog.csdn.net/catoop/article/details/50501676" title="Spring Boot Controller" strategy="BlogCommendFromBaidu" target="_blank">Spring Boot Controller</a> </li> 
           <li> <em>•</em> <a href="http://blog.csdn.net/isea533/article/details/50278205" title="Spring Boot 入门" strategy="BlogCommendFromBaidu" target="_blank">Spring Boot 入门</a> </li> 
           <li> <em>•</em> <a href="http://blog.csdn.net/zgmzyr/article/details/49837077" title="深入学习微框架：Spring Boot" strategy="BlogCommendFromBaidu" target="_blank">深入学习微框架：Spring Boot</a> </li> 
           <li> <em>•</em> <a href="http://blog.csdn.net/jsyxcjw/article/details/46763639" title="SpringBoot笔记一" strategy="BlogCommendFromBaidu" target="_blank">SpringBoot笔记一</a> </li> 
           <li> <em>•</em> <a href="http://blog.csdn.net/isea533/article/details/50412212" title="Spring Boot 静态资源处理" strategy="BlogCommendFromBaidu" target="_blank">Spring Boot 静态资源处理</a> </li> 
          </ul> 
          <ul class="similar_list fr"> 
           <li> <em>•</em> <a href="http://blog.csdn.net/xiaoyu411502/article/details/47864969" title="Spring Boot 快速入门" strategy="BlogCommendFromBaidu" target="_blank">Spring Boot 快速入门</a> </li> 
           <li> <em>•</em> <a href="http://blog.csdn.net/catoop/article/details/50588851" title="Spring Boot 部署与服务配置" strategy="BlogCommendFromBaidu" target="_blank">Spring Boot 部署与服务配置</a> </li> 
           <li> <em>•</em> <a href="http://blog.csdn.net/u012702547/article/details/53740047" title="初识Spring Boot框架" strategy="BlogCommendFromBaidu" target="_blank">初识Spring Boot框架</a> </li> 
           <li> <em>•</em> <a href="http://blog.csdn.net/sosfnima/article/details/51993424" title="SpringBoot入门系列：第一篇 Hello World" strategy="BlogCommendFromCsdn" target="_blank">SpringBoot入门系列：第一篇 Hello World</a> </li> 
           <li> <em>•</em> <a href="http://eyeandroid-com.iteye.com/blog/1707053" title="[Android Samples视频系列之ApiDemos]App-Activity-Hello world" strategy="BlogCommendFromCsdn" target="_blank">[Android Samples视频系列之ApiDemos]App-Activity-Hello world</a> </li> 
          </ul> 
         </div> 
        </div> 
       </div> 
      </div> 
      <div> 
       <script type="text/javascript">
            /*博客内容页下方Banner1-728*90，创建于2016-12-13*/
            var cpro_id = "u2843949";
        </script> 
       <script type="text/javascript" src="http://cpro.baidustatic.com/cpro/ui/c.js"></script> 
      </div> 
      <div id="suggest"></div> 
      <script language="javascript" type="text/javascript">     
             $(function(){
                 $.get("/lxhjh/svc/GetSuggestContent/51711148",function(data){
                     $("#suggest").html(data);
                 });     
             });             
         </script> 
      <dl class="blog-ass-articl tracking-ad" id="res-relatived" data-mod="popu_84"> 
       <dt>
        <span>猜你在找</span>
       </dt> 
       <dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;"> 
        <a href="http://edu.csdn.net/huiyiCourse/series_detail/46" title="机器学习之概率与统计推断" strategy="undefined" target="_blank">机器学习之概率与统计推断</a> 
       </dd> 
       <dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;"> 
        <a href="http://edu.csdn.net/huiyiCourse/series_detail/49" title="机器学习之数学基础" strategy="undefined" target="_blank">机器学习之数学基础</a> 
       </dd> 
       <dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;"> 
        <a href="http://edu.csdn.net/huiyiCourse/series_detail/48" title="机器学习之凸优化" strategy="undefined" target="_blank">机器学习之凸优化</a> 
       </dd> 
       <dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;"> 
        <a href="http://edu.csdn.net/huiyiCourse/series_detail/47" title="机器学习之矩阵" strategy="undefined" target="_blank">机器学习之矩阵</a> 
       </dd> 
       <dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;"> 
        <a href="http://edu.csdn.net/huiyiCourse/detail/421" title="响应式布局全新探索" strategy="undefined" target="_blank">响应式布局全新探索</a> 
       </dd> 
       <dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;"> 
        <a href="http://edu.csdn.net/huiyiCourse/detail/426" title="探究Linux的总线、设备、驱动模型" strategy="undefined" target="_blank">探究Linux的总线、设备、驱动模型</a> 
       </dd> 
       <dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;"> 
        <a href="http://edu.csdn.net/huiyiCourse/detail/422" title="深度学习基础与TensorFlow实践" strategy="undefined" target="_blank">深度学习基础与TensorFlow实践</a> 
       </dd> 
       <dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;"> 
        <a href="http://edu.csdn.net/huiyiCourse/series_detail/45" title="深度学习之神经网络原理与实战技巧" strategy="undefined" target="_blank">深度学习之神经网络原理与实战技巧</a> 
       </dd> 
       <dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;"> 
        <a href="http://edu.csdn.net/huiyiCourse/series_detail/43" title="前端开发在线峰会" strategy="undefined" target="_blank">前端开发在线峰会</a> 
       </dd> 
       <dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;"> 
        <a href="http://edu.csdn.net/huiyiCourse/series_detail/44" title="TensorFlow实战进阶：手把手教你做图像识别应用" strategy="undefined" target="_blank">TensorFlow实战进阶：手把手教你做图像识别应用</a> 
       </dd> 
      </dl> 
      <!-- 广告位开始 --> 
      <!-- 广告位结束 --> 
      <div class="comment_class"> 
       <div id="comment_title" class="panel_head"> 
        <span class="see_comment">查看评论</span>
        <a name="comments" href="blog.csdn.net"></a>
       </div> 
       <div id="comment_list"> 
       </div> 
       <div id="comment_bar"> 
       </div> 
       <div id="comment_form"> 
       </div> 
       <div class="announce">
         * 以上用户言论只代表其个人观点，不代表CSDN网站的观点或立场
        <a name="reply" href="blog.csdn.net"></a>
        <a name="quote" href="blog.csdn.net"></a>
       </div> 
      </div> 
      <script type="text/javascript">
    var fileName = '51711148';
    var commentscount = 19;
    var islock = false
</script> 
      <div id="ad_bot"> 
      </div> 
      <div id="report_dialog"> 
      </div> 
      <div id="d-top" style="bottom:60px;"> 
       <a id="quick-reply" class="btn btn-top q-reply" title="快速回复" style="display:none;" href="blog.csdn.net"> <img src="http://static.blog.csdn.net/images/blog-icon-reply.png" alt="快速回复" /> </a> 
       <a id="d-top-a" class="btn btn-top backtop" style="" title="返回顶部" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_huidaodingbu'])" href="blog.csdn.net"> <img src="http://static.blog.csdn.net/images/top.png" alt="TOP" /> </a> 
      </div> 
      <script type="text/javascript">
    $(function ()
    {
        $("#ad_frm_0").height("90px");
        
        setTimeout(function(){
            $("#ad_frm_2").height("200px");
        },1000);    
    });
  
</script> 
      <style type="text/css">
    .tag_list
    {
        background: none repeat scroll 0 0 #FFFFFF;
        border: 1px solid #D7CBC1;
        color: #000000;
        font-size: 12px;
        line-height: 20px;
        list-style: none outside none;
        margin: 10px 2% 0 1%;
        padding: 1px;
    }
    .tag_list h5
    {
        background: none repeat scroll 0 0 #E0DBD3;
        color: #47381C;
        font-size: 12px;
        height: 24px;
        line-height: 24px;
        padding: 0 5px;
        margin: 0;
    }
    .tag_list h5 a
    {
        color: #47381C;
    }
    .classify
    {
        margin: 10px 0;
        padding: 4px 12px 8px;
    }
    .classify a
    {
        margin-right: 20px;
        white-space: nowrap;
    }
</style> 
      <div id="pop_win" style="display:none ;position: absolute; z-index: 10000; border: 1px solid rgb(220, 220, 220); top: 222.5px; left: 630px; opacity: 1; background: none 0px 0px repeat scroll rgb(255, 255, 255);"> 
      </div> 
      <div id="popup_mask"></div> 
      <style>
    #popup_mask
    {
        position: absolute;
        width: 100%;
        height: 100%;
        background: #000;
        z-index: 9999;
        left: 0px;
        top: 0px;
        opacity: 0.3;
        filter: alpha(opacity=30);
        display: none;
    }

</style> 
      <script type="text/javascript">
    $(function(){        
        
        setTimeout(function(){
            $(".comment_body:contains('回复')").each(function(index,item){
                var u=$(this).text().split('：')[0].toString().replace("回复","")
                var thisComment=$(this);
                if(u)
                {
                    $.getJSON("https://passport.csdn.net/get/nick?callback=?", {users: u}, function(a) {
                        if(a!=null&&a.data!=null&&a.data.length>0)
                        {
                            nick=a.data[0].n; 
                            if(u!=nick)
                            {
                                thisComment.text(thisComment.text().replace(u,nick));  
                            }
                        }       
                    });  
                }
            });         

        },200);  

        setTimeout(function(){
            $(".math").each(function(index,value){$(this).find("span").last().css("color","#fff"); })
        },5000);

        setTimeout(function(){
            $(".math").each(function(index,value){$(this).find("span").last().css("color","#fff"); })
        },10000);

        setTimeout(function(){
            $(".math").each(function(index,value){$(this).find("span").last().css("color","#fff"); })
        },15000);
        
        setTimeout(function(){
            $("a img[src='http://js.tongji.linezing.com/stats.gif']").parent().css({"position":"absolute","left":"50%"});
        },300);
    });

    function loginbox(){
        var $logpop=$("#pop_win");
        $logpop.html('<iframe src="https://passport.csdn.net/account/loginbox?service=http://static.blog.csdn.net/callback.htm" frameborder="0" height="600" width="400" scrolling="no"></iframe>');

        $('#popup_mask').css({
            opacity: 0.5,
            width: $( document ).width() + 'px',
            height:  $( document ).height() + 'px'
        });
        $('#popup_mask').css("display","block");
 
        $logpop.css( {
            top: ($( window ).height() - $logpop.height())/ 2  + $( window 
       ).scrollTop() + 'px',
            left:($( window ).width() - $logpop.width())/ 2
        } );
 
        setTimeout( function () {
            $logpop.show();
            $logpop.css( {
                opacity: 1
            } );
        }, 200 );
 
        $('#popup_mask').unbind("click");
        $('#popup_mask').bind("click", function(){
            $('#popup_mask').hide();
            var $clopop = $("#pop_win");
            $("#common_ask_div_sc").css("display","none");
            $clopop.css( {
                opacity: 0
            } );
            setTimeout( function () {
                $clopop.hide();
            }, 350 );
            return false;
        });
    }   

    var articletitle='SpringBoot入门系列：第一篇 Hello World';

</script> 
      <div class="clear"> 
      </div> 
     </div> 
    </div> 
    <div id="side"> 
     <div class="side"> 
      <div id="panel_Profile" class="panel"> 
       <ul class="panel_head">
        <span>个人资料</span>
       </ul> 
       <ul class="panel_body profile"> 
        <div id="blog_userface"> 
         <a href="http://my.csdn.net/lxhjh" target="_blank"> <img src="http://avatar.csdn.net/2/3/7/1_lxhjh.jpg" title="访问我的空间" style="max-width:90%" /> </a> 
         <br /> 
         <span><a href="http://my.csdn.net/lxhjh" class="user_name" target="_blank">lxhjh</a></span> 
        </div> 
        <div class="interact"> 
         <a href="blog.csdn.netjavascript:void(0);" class="attent" id="span_add_follow" title="[加关注]"></a> 
         <a href="blog.csdn.netjavascript:void(0);" class="letter" title="[发私信]" onclick="window.open('http://msg.csdn.net/letters/model?receiver=lxhjh','_blank','height=350,width=700');_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_sixin'])"></a> 
        </div> 
        <div id="blog_medal"> 
         <div id="bms_box"> 
          <a target="_blank" href="blog.csdn.net"> <img src="http://c.csdnimg.cn/jifen/images/xunzhang/xunzhang/chizhiyiheng.png" onmouseover="m_over_m(this,4)" onmouseout="m_out_m()" alt="1" /> </a> 
         </div> 
        </div> 
        <ul id="blog_rank"> 
         <li>访问：<span>360508次</span></li> 
         <li>积分：<span>3686</span> </li> 
         <li>等级： <span style="position:relative;display:inline-block;z-index:1"> <img src="http://c.csdnimg.cn/jifen/images/xunzhang/jianzhang/blog5.png" alt="" style="vertical-align: middle;" id="leveImg" /> 
           <div id="smallTittle" style=" position: absolute;  left: -24px;  top: 25px;  text-align: center;  width: 101px;  height: 32px;  background-color: #fff;  line-height: 32px;  border: 2px #DDDDDD solid;  box-shadow: 0px 2px 2px rgba (0,0,0,0.1);  display: none;   z-index: 999;"> 
            <div style="left: 42%;  top: -8px;  position: absolute;  width: 0;  height: 0;  border-left: 10px solid transparent;  border-right: 10px solid transparent;  border-bottom: 8px solid #EAEAEA;"></div> 积分：3686 
           </div> </span> </li> 
         <li>排名：<span>第8338名</span></li> 
        </ul> 
        <ul id="blog_statistics"> 
         <li>原创：<span>130篇</span></li> 
         <li>转载：<span>31篇</span></li> 
         <li>译文：<span>2篇</span></li> 
         <li>评论：<span>78条</span></li> 
        </ul> 
       </ul> 
      </div> 
      <div class="panel" id="panel_Search"> 
       <ul class="panel_head">
        <span>文章搜索</span>
       </ul> 
       <ul class="form_search"> 
        <form id="frmSearch" action="http://so.csdn.net/search" class="form_search csdn-tracking-statistics" target="_blank" data-mod="popu_306"> 
         <span><input id="inputSearch" type="text" class="blogsearch" title="请输入关键字" /></span> 
         <input id="btnSubmit" type="button" value="搜索" title="search in blog" /> 
         <input type="hidden" name="q" id="inputQ" /> 
         <input type="hidden" name="t" value="blog" /> 
         <a id="btnSearchBlog" target="_blank" href="blog.csdn.net"></a> 
        </form> 
       </ul> 
      </div> 
      <script type="text/javascript">

   
    $(function () {
        $("#btnSubmit").unbind("click");
        $("#btnSubmit").click(function () {           
            search();
        });

        $("#frmSearch").submit(function () {           
            search();
            return false;
        });

        function search()
        {
            if ($("#inputSearch").val() == "") {               
                alert("请录入搜索关键词！");                         
                return false;
            }
            //var url = "http://so.csdn.net/so/search/s.do?q=" + encodeURIComponent($("#inputSearch").val()) + "&u=" + username + "&t=blog";           
            var url = "https://www.baidu.com/s?wd=" + encodeURIComponent($("#inputSearch").val()) + "%20site%3Ablog.csdn.net"
            window.location.href = url;
        }   
    });
</script>
      <div id="panel_Category" class="panel"> 
       <ul class="panel_head">
        <span>文章分类</span>
       </ul> 
       <ul class="panel_body"> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/1398709" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">QT5</a><span>(5)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/1413872" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">学习资料</a><span>(25)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/1421818" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Maven</a><span>(2)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/1425692" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Effective C++</a><span>(9)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/1426136" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">REST</a><span>(17)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/1432134" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">C#</a><span>(13)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/1434367" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">C++学习</a><span>(2)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/1438033" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Java</a><span>(7)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/1445963" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">mysql</a><span>(5)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/1590065" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">HTTP</a><span>(1)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/1593799" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">JSTL</a><span>(8)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/1630893" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">ant</a><span>(2)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/1700557" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Linux</a><span>(12)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/1774009" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Axure教程</a><span>(4)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/1814473" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">EF</a><span>(2)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/2258991" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">oracle</a><span>(4)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/2307525" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">mybatis</a><span>(1)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/2351151" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">php</a><span>(2)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/2351153" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">apache</a><span>(1)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/2530019" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">JavaScript权威指南</a><span>(3)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/2679015" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">node.js</a><span>(14)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/6076270" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">jquery</a><span>(1)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/6082158" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">学习资料 AngularJS</a><span>(0)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/6082181" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">AngularJS</a><span>(17)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/6160340" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">网络</a><span>(2)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/6160428" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">redis</a><span>(5)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/6274170" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">git</a><span>(1)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/6277040" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">springboot</a><span>(23)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/6342485" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">quartz</a><span>(0)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/6485571" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">docker</a><span>(2)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/6746994" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">TypeScript</a><span>(1)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/category/6836687" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">rabbitmq</a><span>(9)</span> </li> 
       </ul> 
      </div>
      <div id="panel_Archive" class="panel"> 
       <ul class="panel_head">
        <span>文章存档</span>
       </ul> 
       <ul class="panel_body"> 
        <div id="archive_list"> 
         <!--归档统计--> 
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2017/04">2017年04月</a><span>(15)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2017/03">2017年03月</a><span>(1)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2017/02">2017年02月</a><span>(2)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2016/10">2016年10月</a><span>(1)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2016/08">2016年08月</a><span>(4)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2016/06">2016年06月</a><span>(14)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2016/04">2016年04月</a><span>(1)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2016/03">2016年03月</a><span>(7)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2016/02">2016年02月</a><span>(1)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2016/01">2016年01月</a><span>(16)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2014/11">2014年11月</a><span>(13)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2014/09">2014年09月</a><span>(3)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2014/08">2014年08月</a><span>(2)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2014/06">2014年06月</a><span>(2)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2014/05">2014年05月</a><span>(6)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2014/03">2014年03月</a><span>(7)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2014/01">2014年01月</a><span>(6)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2013/12">2013年12月</a><span>(3)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2013/11">2013年11月</a><span>(4)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2013/10">2013年10月</a><span>(2)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2013/09">2013年09月</a><span>(5)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2013/08">2013年08月</a><span>(6)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2013/07">2013年07月</a><span>(6)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2013/06">2013年06月</a><span>(3)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2013/05">2013年05月</a><span>(35)</span></li>
         <li><a href="http:blog.csdn.net/lxhjh/article/month/2013/04">2013年04月</a><span>(1)</span></li> 
        </div> 
       </ul> 
      </div> 
      <div id="hotarticls" class="panel"> 
       <ul class="panel_head"> 
        <span> 阅读排行 </span> 
       </ul> 
       <ul class="panel_body itemlist"> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/51711148" title="SpringBoot入门系列：第一篇 Hello World">SpringBoot入门系列：第一篇 Hello World</a><span>(120951)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/51751847" title="SpringBoot入门系列：第二篇 再学Hello World">SpringBoot入门系列：第二篇 再学Hello World</a><span>(14754)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/51753852" title="SpringBoot入门系列：第四篇 redis">SpringBoot入门系列：第四篇 redis</a><span>(13306)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/51752419" title="SpringBoot入门系列：第三篇 日志输出">SpringBoot入门系列：第三篇 日志输出</a><span>(11746)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/51755035" title="SpringBoot入门系列：第五篇 JPA mysql">SpringBoot入门系列：第五篇 JPA mysql</a><span>(8128)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/51764604" title="SpringBoot入门系列：第六篇 mybatis">SpringBoot入门系列：第六篇 mybatis</a><span>(6812)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/51769968" title="SpringBoot入门系列：第七篇 Spring Boot的测试">SpringBoot入门系列：第七篇 Spring Boot的测试</a><span>(5639)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/8825747" title="QT5 第二章、windows下Qt5.0.2-Helloworld发布">QT5 第二章、windows下Qt5.0.2-Helloworld发布</a><span>(5302)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/8960097" title="SpringMVC构建REST接口:第四篇 第一个REST风格的接口">SpringMVC构建REST接口:第四篇 第一个REST风格的接口</a><span>(5222)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/9350251" title="Spring MVC Rest文件上传">Spring MVC Rest文件上传</a><span>(4656)</span> </li> 
       </ul> 
      </div> 
      <div id="hotarticls2" class="panel"> 
       <ul class="panel_head">
        <span>评论排行</span>
       </ul> 
       <ul class="panel_body itemlist"> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/51711148" title="SpringBoot入门系列：第一篇 Hello World">SpringBoot入门系列：第一篇 Hello World</a><span>(19)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/51752419" title="SpringBoot入门系列：第三篇 日志输出">SpringBoot入门系列：第三篇 日志输出</a><span>(13)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/51751847" title="SpringBoot入门系列：第二篇 再学Hello World">SpringBoot入门系列：第二篇 再学Hello World</a><span>(9)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/51753852" title="SpringBoot入门系列：第四篇 redis">SpringBoot入门系列：第四篇 redis</a><span>(8)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/51755035" title="SpringBoot入门系列：第五篇 JPA mysql">SpringBoot入门系列：第五篇 JPA mysql</a><span>(6)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/8955380" title="SpringMVC构建REST接口:第一篇 使用Eclipse构建Maven的SpringMVC项目">SpringMVC构建REST接口:第一篇 使用Eclipse构建Maven的SpringMVC项目</a><span>(4)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/8959721" title="SpringMVC构建REST接口:第三篇 设置文档结构及配置文件">SpringMVC构建REST接口:第三篇 设置文档结构及配置文件</a><span>(2)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/52149519" title="SpringBoot集成Jquery easyUI：一、创建 CRUD 应用">SpringBoot集成Jquery easyUI：一、创建 CRUD 应用</a><span>(2)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/8825747" title="QT5 第二章、windows下Qt5.0.2-Helloworld发布">QT5 第二章、windows下Qt5.0.2-Helloworld发布</a><span>(2)</span> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/9186291" title="C# PrintDocument类">C# PrintDocument类</a><span>(1)</span> </li> 
       </ul> 
      </div> 
      <div id="homepageArticles" class="panel tracking-ad" data-mod="popu_4"> 
       <ul class="panel_head">
        <span>推荐文章</span>
       </ul> 
       <ul class="panel_body" id="ad_commend"> 
        <ul> 
         <li><a href="http://blog.csdn.net/blogdevteam/article/details/74233634" target="_blank">* CSDN日报20170703——《从高考到程序员——我一直在寻找答案》</a></li> 
         <li><a href="http://blog.csdn.net/zwluoyuxi/article/details/73977651" target="_blank">* 从源码剖析PopupWindow 兼容Android 6.0以上版本点击外部不消失</a></li> 
         <li><a href="http://blog.csdn.net/briblue/article/details/73928350" target="_blank">* 轻松学，Java 中的代理模式及动态代理</a></li> 
         <li><a href="http://blog.csdn.net/liyuanxiang1984/article/details/73928254" target="_blank">* ArcGIS水文分析实战教程——河流提取与河网分级</a></li> 
         <li><a href="http://blog.csdn.net/liuchonge/article/details/73649251" target="_blank">* Tensorflow中使用TFRecords高效读取数据--结合NLP数据实践</a></li> 
         <li><a href="http://blog.csdn.net/broadview2006/article/details/73839579" target="_blank">* 每周荐书：MyBatis、并行编程、Ansible（评论送书）</a></li> 
        </ul>
       </ul> 
      </div> 
      <div id="newcomments" class="panel"> 
       <ul class="panel_head">
        <span>最新评论</span>
       </ul> 
       <ul class="panel_body itemlist"> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/51711148#comments">SpringBoot入门系列：第一篇 Hello World</a> <p style="margin:0px;"><a href="http:blog.csdn.net/thetyDe" class="user_name">thetyDe</a>: 一堆错误:第一次缺少logback-core包,行.我加上第二次缺少spring expressio... </p> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/51753852#comments">SpringBoot入门系列：第四篇 redis</a> <p style="margin:0px;"><a href="http:blog.csdn.net/jadespringpen" class="user_name">jadespringpen</a>: @weixin_36769686:会自动生成一个和项目名有关的类，run as java appli... </p> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/51753852#comments">SpringBoot入门系列：第四篇 redis</a> <p style="margin:0px;"><a href="http:blog.csdn.net/jadespringpen" class="user_name">jadespringpen</a>: @titianwl:报controller找不到这个类是分包的问题，把这个controller放到主... </p> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/8960097#comments">SpringMVC构建REST接口:第四篇 第一个REST风格的接口</a> <p style="margin:0px;"><a href="http:blog.csdn.net/qq_34297391" class="user_name">qq_34297391</a>: 这不就普通接口嘛，和rest风格有啥关系 </p> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/8960097#comments">SpringBoot入门系列：第四篇 redis</a> <p style="margin:0px;"><a href="http:blog.csdn.net/Sdy_kinor" class="user_name">Sdy_kinor</a>: 这几个项目都是demo 有些地方说的很糊涂 对不会的人来说容易搞蒙掉 </p> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/51752419#comments">SpringBoot入门系列：第三篇 日志输出</a> <p style="margin:0px;"><a href="http:blog.csdn.net/VICTOR_fusheng" class="user_name">VICTOR_fusheng</a>: @scopion_wang:好的，谢了 </p> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/51752419#comments">SpringBoot入门系列：第三篇 日志输出</a> <p style="margin:0px;"><a href="http:blog.csdn.net/scopion_wang" class="user_name">scopion_wang</a>: 回复6楼把29行的name=&amp;quot;com.example&amp;quot;中的com.example... </p> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/51752419#comments">SpringBoot入门系列：第三篇 日志输出</a> <p style="margin:0px;"><a href="http:blog.csdn.net/scopion_wang" class="user_name">scopion_wang</a>: @VICTOR_fusheng:把29行 name=&amp;quot;com.example&amp;quot;改... </p> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/51752419#comments">SpringBoot入门系列：第一篇 Hello World</a> <p style="margin:0px;"><a href="http:blog.csdn.net/Sdy_kinor" class="user_name">Sdy_kinor</a>: Project build error: Non-resolvable parent POM: Fa... </p> </li> 
        <li> <a href="http:blog.csdn.net/lxhjh/article/details/51752419#comments">SpringBoot入门系列：第一篇 Hello World</a> <p style="margin:0px;"><a href="http:blog.csdn.net/qq_22865645" class="user_name">qq_22865645</a>: 加上@RestController就不用再方法上加@ResponseBody了，因为里面默认集成了 </p> </li> 
       </ul> 
      </div> 
     </div> 
     <div class="clear"> 
     </div> 
     <!-- 广告位开始 --> 
     <!-- 广告位结束 --> 
     <div class="tracking-ad" data-view="true" data-mtp="63" data-order="40" data-con="ad_content_1260" style="width: 200px; height: 500px;"> 
      <div id="nav_show_top_stop" style="width: 200px;height: 500px;z-index:1000">
       <div id="cpro_u3026762"></div>
      </div> 
     </div> 
     <script type="text/javascript">
        setTimeout(function () {
            var naviga_offsetTop = 0;
            function naviga_stay_top() { var scrollTop = jQuery(document).scrollTop(); if (scrollTop > naviga_offsetTop) { jQuery("#nav_show_top_stop").css({ "position": "fixed" }); jQuery("#nav_show_top_stop").css({ "top": "0px" }); } else { jQuery("#nav_show_top_stop").css({ "position": "fixed" }); jQuery("#nav_show_top_stop").css({ "top": naviga_offsetTop - scrollTop + "px" }); } }
            function onload_function() { naviga_offsetTop = jQuery("#nav_show_top_stop").position().top; jQuery(window).bind("scroll", naviga_stay_top); jQuery(window).bind("mousewheel", naviga_stay_top); jQuery(document).bind("scroll", naviga_stay_top); jQuery(document).bind("mousewheel", naviga_stay_top); } jQuery(document).ready(onload_function);

        }, 200);
    </script> 
     <script type="text/javascript">(window.cproArray = window.cproArray || []).push({ id: "u3026762" });  </script> 
     <script src="http://cpro.baidustatic.com/cpro/ui/c.js" type="text/javascript"></script> 
    </div> 
    <div class="clear"> 
    </div> 
   </div> 
   <script type="text/javascript" src="http://passport.csdn.net/content/loginbox/login.js"></script> 
   <script type="text/javascript">
    $(function () {
        function __get_code_toolbar(snippet_id) {
            return $("<span class='tracking-ad' data-mod='popu_167'><a href='https://code.csdn.net/snippets/"
                    + snippet_id
                    + "' target='_blank' title='在CODE上查看代码片'  style='text-indent:0;'><img src='https://code.csdn.net/assets/CODE_ico.png' width=12 height=12 alt='在CODE上查看代码片' style='position:relative;top:1px;left:2px;'/></a></span>"
                    + "<span class='tracking-ad' data-mod='popu_170'><a href='https://code.csdn.net/snippets/"
                    + snippet_id
                    + "/fork' target='_blank' title='派生到我的代码片' style='text-indent:0;'><img src='https://code.csdn.net/assets/ico_fork.svg' width=12 height=12 alt='派生到我的代码片' style='position:relative;top:2px;left:2px;'/></a></span>");
        }
        
        $("[code_snippet_id]").each(function () {
            __s_id = $(this).attr("code_snippet_id");
            if (__s_id != null && __s_id != "" && __s_id != 0 && parseInt(__s_id) > 70020) {
                __code_tool = __get_code_toolbar(__s_id);
                $(this).prev().find(".tools").append(__code_tool);
            }
        });

        $(".bar").show();
    });
</script> 
  </div> 
  <!--new top--> 
  <!--new top--> 
  <script type="text/javascript" src="http://static.blog.csdn.net/public/res/bower-libs/MathJax/MathJax.js?config=TeX-AMS_HTML"></script> 
  <script type="text/javascript">
              //$(function () {
              //    setTimeout(function () {
              //        var searchtitletags = articletitle + ',' + $("#tags").html();
              //        searchService({
              //            index: 'blog',
              //            query: searchtitletags,
              //            from: 5,
              //            size: 5,
              //            appendTo: '#res',
              //            url: 'recommend',
              //            his: 2,
              //            client: "blog_cf_enhance",
              //            tmpl: '<dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px;"><a href="#{ url }" title="#{ title }" strategy="#{ strategy }">#{ title }</a></dd>'
              //        });
              //    }, 1000);
              //});

         </script> 
  <script src="http://static.blog.csdn.net/scripts/csdn_blog_detail.min.js" type="text/javascript"></script> 
  <script type="text/javascript" src="http://c.csdnimg.cn/blog/csdn_public_blog_detail.min.js?20170626001"></script> 
  <script type="text/javascript" src="http://medal.blog.csdn.net/showblogmedal.ashx?blogid=1406879"></script> 
  <div id="a52b5334d" style="width: 1px; height: 1px; display: none;"> 
   <script id="adJs52b5334"></script> 
   <script>document.getElementById("adJs52b5334").src = "http://ads.csdn.net/js/opt/52b5334.js?t=" + Math.random();</script> 
  </div> 
  <div class="pop_CA_cover" style="display:none"></div> 
  <div class="pop pop_CA" style="display:none"> 
   <div class="CA_header">
     收藏助手 
    <span class="cancel_icon" id="fapancle" onclick="$('.pop_CA').hide();$('.pop_CA_cover').hide();"></span> 
   </div> 
   <iframe src="" id="fa" frameborder="0" width="100%" height="360" scrolling="no"></iframe> 
  </div> 
  <script type="text/javascript">

            $(function () {
                var fromjs = $("#fromjs");
                if (fromjs.length > 0) {
                    $("#fromjs .markdown_views pre").addClass("prettyprint");
                    prettyPrint();

                    $('pre.prettyprint code').each(function () {
                        var lines = $(this).text().split('\n').length;
                        var $numbering = $('<ul/>').addClass('pre-numbering').hide();
                        $(this).addClass('has-numbering').parent().append($numbering);
                        for (i = 1; i <= lines; i++) {
                            $numbering.append($('<li/>').text(i));
                        };
                        $numbering.fadeIn(1700);
                    });

                    $('.pre-numbering li').css("color", "#999");
                }
            });

            $(".markdown_views a[target!='_blank']").attr("target", "_blank");

            //$(".toc a[target='_blank']").attr("target", "");

            setTimeout(function () {
                $(".toc a[target='_blank']").attr("target", "");
            }, 500);

        </script>   
 </body>
</html>